package com.monkeyboy.service;

import com.monkeyboy.common.dto.ResData;
import com.monkeyboy.framework.domain.Server;
import org.springframework.stereotype.Service;

/**
 * @Author Gavin
 * @date 2020.07.07 12:12
 */
@Service
public class SystemMonitorService {
    public ResData getSystemMonitorInfo() throws Exception {
        Server server = new Server();
        server.copyTo();
        return ResData.SUCCESS_DATA(server);
    }
}
